
* Exogeneity Test

reghdfe log_vet_var_bp initial_need407  	 $weight $restric & year==2010, a(occsoc_num  )  vce(cluster statefip)
outreg2 using vet_exog_2, replace

reghdfe log_vet_var_bp initial_need407 		 $weight $restric & year==2012, a(occsoc_num  )  vce(cluster statefip)
outreg2 using vet_exog_2, append

reghdfe log_vet_var_bp initial_needbd_plus07 $weight $restric & year==2012, a(occsoc_num  )  vce(cluster statefip)
outreg2 using vet_exog_2, append

reghdfe log_vet_var_bp initial_needbd_plus07 $weight $restric & year==2010, a(occsoc_num  )  vce(cluster statefip)
outreg2 using vet_exog_2, append

reghdfe log_vet_var_bp initial_need407  	 $weight $restric & year==2010, a(occsoc_num statefip)  vce(cluster statefip)
outreg2 using vet_exog_2, append

reghdfe log_vet_var_bp initial_need407 		 $weight $restric & year==2012, a(occsoc_num statefip)  vce(cluster statefip)
outreg2 using vet_exog_2, append

reghdfe log_vet_var_bp initial_needbd_plus07 $weight $restric & year==2012, a(occsoc_num statefip)  vce(cluster statefip)
outreg2 using vet_exog_2, append

reghdfe log_vet_var_bp initial_needbd_plus07 $weight $restric & year==2010, a(occsoc_num statefip)  vce(cluster statefip)
outreg2 using vet_exog_2, append

reghdfe log_vet_var_bp  bdshare  	 $weight $restric & year==2010, a(occsoc_num )  vce(cluster statefip)
outreg2 using vet_exog_2, append

reghdfe log_vet_var_bp  bdshare      $weight $restric & year==2012, a(occsoc_num )  vce(cluster statefip)
outreg2 using vet_exog_2, append

reghdfe log_vet_var_bp avgage2000 $weight $restric & year==2012, a(occsoc_num )  vce(cluster statefip)
outreg2 using vet_exog_2, append

reghdfe log_vet_var_bp avgage2000 $weight $restric & year==2010, a(occsoc_num )  vce(cluster statefip)
outreg2 using vet_exog_2, append

reghdfe log_vet_var_bp change_openings_per_emp 	 $weight $restric  & year==2010 , a(occsoc_num )  vce(cluster statefip)
outreg2 using vet_exog_2, append

reghdfe log_vet_var_bp change_openings_per_emp  $weight $restric  & year==2012 , a(occsoc_num )  vce(cluster statefip)
outreg2 using vet_exog_2, append

reghdfe log_vet_var_bp change_openings_per_emp 	 $weight $restric  & year==2010 , a(occsoc_num statefip )  vce(cluster statefip)
outreg2 using vet_exog_2, append

reghdfe log_vet_var_bp change_openings_per_emp  $weight $restric  & year==2012 , a(occsoc_num statefip )  vce(cluster statefip)
outreg2 using vet_exog_2, append excel
